﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ADB_QuanLyThuVien
{
    public class Member : Person
    {
        Account _acc;

        public Account Acc
        {
            get { return _acc; }
            set { _acc = value; }
        }
        public Member()
            : base()
        {
            _acc = null;
        }
        public Member(string id, string name, DateTime birthday, string address, string email, string phoneNumber, string sex, Account acc)
            : base(id, name, birthday, address, email, phoneNumber,sex)
        {
            this._acc = acc;
        }
        public override string ToString()
        {
            return Name;
        }
    }
}
